package com.sinping.qh.repository.mongo.noticebook;

import com.sinping.qh.domain.noticebook.NoticeBookAuditDomain;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author jiahuaiqing
 * @create 2018/5/29
 */
public interface NoticeBookAuditRepository extends MongoRepository<NoticeBookAuditDomain,String> {

    List<NoticeBookAuditDomain> findByNoticeNo(String noticeNo);

    List<NoticeBookAuditDomain> findByNoticeNoAndNoticeAuditSource(String noticeNo,String noticeAuditSource);
    List<NoticeBookAuditDomain> findByNoticeNoAndNoticeAuditResult(String noticeNo,String noticeAuditResult);
}
